package org.dromara.nursing.domain.bo;

import org.dromara.nursing.domain.StaffSkill;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 员工专业技能业务对象 ms_staff_skill
 *
 * @author Xue
 * @date 2025-04-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = StaffSkill.class, reverseConvertGenerate = false)
public class StaffSkillBo extends BaseEntity {

    /**
     * 技能ID
     */
    @NotNull(message = "技能ID不能为空", groups = { EditGroup.class })
    private Long skillId;

    /**
     * 员工姓名
     */
    @NotBlank(message = "员工姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String staffName;

    /**
     * 技能名称
     */
    @NotBlank(message = "技能名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String skillName;

    /**
     * 技能等级
     */
    private String skillLevel;

    /**
     * 技能描述
     */
    private String description;

    /**
     * 相关证书
     */
    private String certificate;

    /**
     * 证书编号
     */
    private String certNumber;

    /**
     * 证书颁发日期
     */
    private Date issueDate;

    /**
     * 证书到期日期
     */
    private Date expireDate;

    /**
     * 颁发机构
     */
    private String issueOrg;

    /**
     * 备注
     */
    private String remarks;


}
